package com.yikome.monitor.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Index;
import javax.persistence.Table;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Setter
@Getter
@NoArgsConstructor
@Entity
@Table(name = "m_monitor_event_statistics" , 
	indexes= {@Index(columnList= "eventAims", unique=false) , @Index(columnList= "eventName", unique=false) , @Index(columnList= "statisticsDate", unique=false)})
public class ERPMonitorEventStatistics implements Serializable {

	private static final long serialVersionUID = -1090577042340164534L;

	@Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long id;
	
	private String eventAims ;
	
	private String eventName ;

	private String statisticsDate;
    
    private Integer count ; 
}
